<?php
include_once '../common_mbs.inc.php';
include_once '../smarty.inc.php';

//判断访问权限
$admin_index_module_obj = new osgh_admin_index_module_cls();
$is_warrant = $admin_index_module_obj->is_have_warrant($_ADMIN_ID,'order_list');
if(!$is_warrant) tcmc_cls::ShowMsg("没有权限访问！", "../index_body.html");

$order_obj = new order_cls();
$act = trim($_INPUT['action']);
$status  = $_INPUT['status'];
$orderid  = $_INPUT['order_id'];
if($act =='updatdstatus')
{
	 $up_data = array(
		'order_status' => $status,
	 );
	 $order_obj->update_order($up_data, $orderid);
    tcmc_cls::ShowMsg("修改订单状态成功！", "order_list.php");
}
?>